/*
 * MessageBox.h
 *
 *  Created on: 2009-4-24
 *      Author: walter
 */

#ifndef MESSAGEBOX_H_
#define MESSAGEBOX_H_

#include <QMessageBox>
#include <QFont>

#include "Options.h"

class MessageBox
{
public:
	MessageBox();
	virtual ~MessageBox();

	static int showWarning(
			QMessageBox::Icon icon,
			const QString & title,
			const QString & text,
			int fontSize,
			//QMessageBox::StandardButtons buttons = QMessageBox::NoButton,
			QWidget * parent = 0);

	static int showConfirm(
			QMessageBox::Icon icon,
			const QString & title,
			const QString & text,
			int fontSize,
			//QMessageBox::StandardButtons buttons = QMessageBox::NoButton,
			QWidget * parent = 0);
};

#endif /* MESSAGEBOX_H_ */
